<template >
    <div>
        <el-form-item :label="item1.attr_name" v-for="(item1, index1) in list" :key="item1.attr_id">
            <el-checkbox-group v-model="item1.checked" size="small">
                <el-checkbox :label="item2" border v-for="(item2, index2) in item1.attr_vals" :key="index2"></el-checkbox>

            </el-checkbox-group>
        </el-form-item>
    </div>
</template>
<script>
export default {
    props: { 
        list:{
            type:Array,
            defaute:[],
        }
     }
}
</script>
<style lang="scss"></style>